<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<link href="<?php echo $this->baseUrl;?>/admincss/style.css" rel="stylesheet" type="text/css" />

<script charset="utf-8" src="<?php echo $this->baseUrl;?>/adminjs/kindeditor-min.js"></script>
<script charset="utf-8" src="<?php echo $this->baseUrl;?>/adminjs/lang/zh_CN.js"></script>
<script>
var editor;
KindEditor.ready(function(K) {
        editor = K.create('#content', {
		uploadJson : '<?php echo $this->url ($this->baseUrl, "article", "upload", "", "admin");?>',
		fileManagerJson : '<?php echo $this->url ($this->baseUrl, "article", "filemanage", "", "admin");?>',
		allowFileManager : true,
		urlType : "domain"
        });
});
</script>
<body>
<form id="form1" name="form1" method="post" enctype="multipart/form-data" action="<?php echo $this->url ($this->baseUrl, "meeting", "doadd", "", "admin");?>">
  <table width="100%" border="1" class="tableA" >
    <tr>
      <td colspan="3" align="center">添加学术讲座</td>
    </tr>
    <tr>
      <td width="14%">分类</td>
      <td width="26%"><select name="type">
        <option value="0">选择二级分类</option>
        <?php foreach ($this->list as $v){
        	echo '<option value="' . htmlspecialchars(addslashes($v['id'])) . '">' .  htmlspecialchars(addslashes($v['name'])) . '</option>';
        }?>
      </select></td>
      <td width="60%">&nbsp;</td>
    </tr>
    <tr>
      <td width="14%">名称</td>
      <td width="26%"><input name="subject" type="text" id="subject" size="30" /></td>
      <td width="60%">&nbsp;</td>
    </tr>
    <tr>
      <td>地址</td>
      <td>
      <input name="address" type="text" id="address" size="30" /></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>排序</td>
      <td><input name="seq" type="text" id="seq" value="100" size="10" /></td>
      <td>从大到小排序</td>
    </tr>
    <tr>
      <td>举办时间</td>
      <td colspan="2"><input name="pubtime" type="text" id="pubtime" value="" size="30" /></td>
    </tr>
    <tr>
      <td>内容</td>
      <td colspan="2"><textarea name="content" id="content" cols="80" rows="20" style="width:700px;height:400px;"></textarea></td>
    </tr>
    <tr>
      <td colspan="3" align="center"><input type="submit" name="button" id="button" value="提交" class="btn_submit"/></td>
    </tr>
  </table>
</form>
</body>
</html>
<script>
var d = new Date();
var today = d.getFullYear() + "-" +(d.getMonth()+1)+"-"+d.getDate()+ " "+d.getHours()+":"+d.getMinutes()+":"+d.getSeconds();
document.getElementById('pubtime').value = today;
</script>